package cn.com.hhrcw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 留言表
 * </p>
 *
 * @author jiangdong
 * @since 2020-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class LeavingNews implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private Boolean delFlag;

    private Date updateTime;

    private Date createTime;

    private String updateBy;

    private String r1;

    private String r2;

    private String r3;

    private String r4;

    private String r5;

    private String r6;

    private String r7;

    /**
     * 父id
     */
    private String partentId;

    /**
     * 接收者id
     */
    private String receiveId;

    /**
     * 消息
     */
    private String newsContent;

    /**
     * 发送者
     */
    private String sendId;

    /**
     * 发送者电话
     */
    private String sendPhone;

    /**
     * 发送者真实姓名
     */
    private String sendRealname;

    /**
     * 1未读2已读
     */
    private Integer readFlag;

    /**
     * 1个人2企业
     */
    private String receiveType;

    /**
     * 1个人2企业
     */
    private String sendType;

    private String createBy;


}
